<template>
  <footer class="footer">
    <div class="footer-content">
      <div class="footer-section">
        <h3>联系我们</h3>
        <p>电话: 123-456-789</p>
        <p>邮箱: contact@hongying.com</p>
      </div>
      <div class="footer-section">
        <h3>关注我们</h3>
        <div class="social-links">
          <a href="#" aria-label="关注我们的微信"><i class="fab fa-weixin"></i></a>
          <a href="#" aria-label="关注我们的微博"><i class="fab fa-weibo"></i></a>
          <a href="#" aria-label="关注我们的QQ"><i class="fab fa-qq"></i></a>
        </div>
      </div>

      <div class="footer-section">
        <h3>快速链接</h3>
        <ul>
          <li><a href="/about">关于我们</a></li>
          <li><a href="/service">客户服务</a></li>
          <li><a href="/privacy">隐私政策</a></li>
        </ul>
      </div>
    </div>

    <div class="footer-bottom">
      <p>&copy; 2024 红映雨雨伞 版权所有</p>
    </div>
  </footer>
</template>

<script>
export default {
  name: 'FootView'
}
</script>

<style scoped>
.footer {
  background-color: #f8f9fa;
  padding: 40px 0 20px;
  color: #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer-section {
  margin: 20px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #007bff;
}

.social-links {
  display: flex;
  gap: 15px;
  height: 24px;
  align-items: center;
  margin-left: -5px;
}

.social-links a {
  font-size: 24px;
  color: #666;
  display: flex;
  align-items: center;
  padding: 5px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
    margin: 10px 0;
  }
}
</style>
